package com.wingsfrog.travel.modules.dao;

import com.wingsfrog.travel.modules.entity.TeamHint;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by rankin on 16/4/3.
 */
public interface TeamHintDao extends CrudRepository<TeamHint,Integer>{
    public List<TeamHint> findByTeamTaskId(Integer taskId);
    public TeamHint findTop1ByTeamTaskIdOrderByHintLevelDesc(Integer level);
}
